import React from 'react'
import {Carousel} from "antd";
import './index.css'

export default function Picture(){

    const picList=[
        {id:'0001',data:'11'},
        {id:'0002',data:'12'},
        {id:'0003',data:'13'},
        {id:'0004',data:'14'},
    ]

    return (
        <Carousel effect="fade" className={'contentStyle'} autoplay={true} >
            {picList.map((pic)=>{
                return (
                    <div className='pic' key={pic.id}>
                        <h3 className={'contentStyle'}>{pic.data}</h3>
                    </div>
                )
            })}
        </Carousel>
    )
}